//
//  ViewController.swift
//  构造函数
//
//  Created by Summer on 2017/11/13.
//  Copyright © 2017年 Summer. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        // () 调用默认的构造函数 init
        let p = Person()
        print("\(p.name) \(p.age)")
    }




}

